package com.kgc.scd.mapper;

import com.kgc.scd.bean.Collect;
import com.kgc.scd.bean.CollectExample;
import java.util.List;

import com.kgc.scd.bean.CollectProducts;
import com.kgc.scd.bean.Foots;
import org.apache.ibatis.annotations.Param;

public interface Collectmapper {
    long countByExample(CollectExample example);

    int deleteByExample(CollectExample example);

    int deleteByPrimaryKey(Integer collId);

    int insert(Collect record);

    int insertSelective(Collect record);

    List<Collect> selectByExample(CollectExample example);

    Collect selectByPrimaryKey(Integer collId);

    int updateByExampleSelective(@Param("record") Collect record, @Param("example") CollectExample example);

    int updateByExample(@Param("record") Collect record, @Param("example") CollectExample example);

    int updateByPrimaryKeySelective(Collect record);

    int updateByPrimaryKey(Collect record);

    List<CollectProducts> selectDetailByUserId(@Param("userId") String userId,@Param("orderBy") Integer orderBy);

    List<Foots> selectFoots(@Param("userId") String userId);

}